package gaegen;

import java.util.ArrayList; 
import java.util.List;
import java.util.Arrays;
import java.sql.*;
public class item implements leaf {
	public int menu_ID;
	public String menu_EntityType;
	public String leaf;
	public int ID;
	public Date LastUpdateTime;
	public String EntityType;
	public String BusinessKey;
	public Boolean Indicator;
	public Date EffectiveDate;
	public String DefinitionID;
	public Interested[] RelationShips;
	public String[] index1;

	public item() {;}

	public item(int menu_ID,String menu_EntityType,String leaf,int ID,Date LastUpdateTime,String EntityType,String BusinessKey,Boolean Indicator,Date EffectiveDate,String DefinitionID) {
		this.menu_ID = menu_ID;
		this.menu_EntityType = menu_EntityType;
		this.leaf = leaf;
		this.ID = ID;
		this.LastUpdateTime = LastUpdateTime;
		this.EntityType = EntityType;
		this.BusinessKey = BusinessKey;
		this.Indicator = Indicator;
		this.EffectiveDate = EffectiveDate;
		this.DefinitionID = DefinitionID;
	}
	
	@Override
    public String toString() {
        return "item{" + 
        "menu_ID =" + menu_ID + ","+"menu_EntityType =" + menu_EntityType + ","+"leaf =" + leaf + ","+"ID =" + ID + ","+"LastUpdateTime =" + LastUpdateTime + ","+"EntityType =" + EntityType + ","+"BusinessKey =" + BusinessKey + ","+"Indicator =" + Indicator + ","+"EffectiveDate =" + EffectiveDate + ","+"DefinitionID =" + DefinitionID +
        "RelationShips =" + (RelationShips == null ? null : Arrays.asList(RelationShips))+ ","+"index1 =" + (index1 == null ? null : Arrays.asList(index1))+
        '}';
    }
    
    @Override public String getKey(){return null;}
    @Override public String getContext(){return null;}
    @Override public String getEntityType(){return EntityType;}
} 